package org.fastmvc.resource.location.impl;

import java.io.File;
import java.util.List;
import java.util.regex.Pattern;

import org.fastmvc.resource.FastMvcResource;
import org.fastmvc.resource.location.ResourceLocation;

/**
 * <类描述>
 *
 * @author tangch
 * @date 2017年11月08日 9:40
 */
public class FileResourceLocation extends ResourceLocation {

	private final File file;

	public FileResourceLocation(File file) {
		this.file = file;
	}

	@Override
	public String getId() {
		return file.getAbsolutePath();
	}

	@Override
	public void scan(String base, Pattern pattern, List<FastMvcResource> list) {

	}
}
